package com.data.modules.openapi.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: open_api_app
 * @Author: data-boot
 * @Date:   2022-04-07
 * @Version: V1.0
 */
@Data
@TableName("open_api_app")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="open_api_app对象", description="open_api_app")
public class OpenApiApp implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private String id;
	/**appkey*/
	@Excel(name = "appkey", width = 15)
    @ApiModelProperty(value = "appkey")
    private String appkey;
	/**appsecrect*/
	@Excel(name = "appsecrect", width = 15)
    @ApiModelProperty(value = "appsecrect")
    private String appsecrect;
	/**状态  1 正常 2 禁用 3 删除*/
	@Excel(name = "状态  1 正常 2 禁用 3 删除", width = 15)
    @ApiModelProperty(value = "状态  1 正常 2 禁用 3 删除")
    private Integer status;
    @Excel(name = "状态  1 正常 2 禁用 3 删除", width = 15)
    @ApiModelProperty(value = "状态  1 正常 2 禁用 3 删除")
    private String appName;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@TableField(exist = false)
    private String appRole;

    @TableField(exist = false)
    private String fileUrl;
}
